import Renderer from "./Renderer";
import Editor from "./Editor";

const DEFAULT_OPTIONS = {
  auto_controls: true,
  auto_play: false,
  auto_loop: false,
  auto_preload: true,
  auto_muted: false,
};

export default {
  type: "VIDEO",
  name: "视频(video)",
  getOptions: options => ({ ...DEFAULT_OPTIONS, ...options }),
  Renderer,
  Editor,

  defaultColumns: 12,
  defaultRows: 30,
};
